package by.home;

import java.io.Serializable;

public class UserStatus implements Serializable {
  private int id;
  private int online;
  private int chatRoomId;
  private int userId;
  private ChatRoom chatRoom = null;
  private User user = null;
  private int version;


  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public int getOnline() {
    return online;
  }

  public void setOnline(int online) {
    this.online = online;
  }

  public ChatRoom getChatRoom() {
    return chatRoom;
  }

  public void setChatRoom(ChatRoom chatRoom) {
    this.chatRoom = chatRoom;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public int getVersion() {
    return version;
  }

  public void setVersion(int version) {
    this.version = version;
  }

  public int getChatRoomId() {
    return chatRoomId;
  }

  public void setChatRoomId(int chatRoomId) {
    this.chatRoomId = chatRoomId;
  }

  public int getUserId() {
    return userId;
  }

  public void setUserId(int userId) {
    this.userId = userId;
  }
}
